package com.dongke.service;

import com.dongke.pojo.Role1;
import com.dongke.pojo.User1;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface User_1Service {
    PageInfo<User1> selectInfo(User1 user, Integer pageSize, Integer pageNum);

    User1 getUserInfo(User1 user);

    boolean addUserInfo(User1 user, Integer[] rids);

    User1 getInfo(Integer uid);

    List<Role1> getRoleInfo();

    List<Integer> getUserRoleById(Integer uid);

    Boolean updateUserById(User1 user, Integer[] rid);

    boolean deleteInfoById(Integer uid);
}
